/**
 * This code is released under lgpl v3 license.
 * All rights reserved.
*/

package flash.wrapper;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Timer;

import pl.rmalinowski.gwt2swf.client.ui.SWFWidget;

/**
 * base fabridge enabled widget ,
 * @author yuan yunchang    dukerr@gmail.com
 */
public abstract class FABridgeWidget extends SWFWidget {
//    private Timer initTimer;
    

    /**
     * fabridge name
     */
    protected String bridgeName;

    public FABridgeWidget(String src, String width, String height) {
        super(src, width, height);
    }

    public String getBridgeName() {
        return bridgeName;
    }

    public void setBridgeName(String bridgeName) {
        this.bridgeName = bridgeName;
        addFlashVar("bridgeName", bridgeName);
    }
        
}
